package com.cqie.hospitalescort.VO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class AssessInfoVO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("描述")
    @TableField(value = "content")
    private String description;

    @ApiModelProperty("评价图片")
    private String reviewPicture;

    @ApiModelProperty("用户id")
    private Long userId;

    private String userName;

    @ApiModelProperty("评价时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("头像")
    private String avatar;
}
